<!--------------------CURENT-PAGE (Start) -------------------->
<div class="cur-page mar-top-20">
	<ul class="nav-cur">
		<!--  
	    <li class="start"><a href="#"><span></span></a></li>
	    <li class="prev"><a href="#"><span></span></a></li>
	    <li class="page active"><span>1</span></li>
	    <li class="page"><a href="#"><span>2</span></a></li>
	    <li class="next"><a href="#"><span></span></a></li>
	    <li class="end"><a href="#"><span></span></a></li>
		-->
	<?php 
	
	
	$linkPrevious = '#';
	if(isset($this->previous)){
		$linkPrevious 	= $this->currentUrl . '/?page=' . $this->previous;
	}
	
	$linkNext = '#';
	if(isset($this->next))
	{
		$linkNext 		= $this->currentUrl . '/?page=' . $this->next;
	}	
	$strPage  = '';
	foreach ($this->pagesInRange as $key)
	{
		if($this->current == $key)
		{
			//$strPage .= '<a class="active" href="#">' . $key .'</a>';
			$strpage.= '<li class="page active"><span>'.$key.'</span></li>';
		}else
		{
			$linkPage = $this->currentUrl . '/?page='. $key;
			//$strPage .= '<a id="cur_page" href="' . $linkPage . '">' . $key .'</a>';
			 $strpage.= '<li class="page"><a href="'.$linkPage.'"><span>'.$key.'</span></a></li>';
		}
	}
	
	$linkFrist=$this->currentUrl;
	$linkEnd=$this->currentUrl.'/?page='.$this->last;
	
	?>
		
		<li class="start"><a href="<?php echo $linkFrist ?>"><span></span></a></li>
		<li class="prev"><a href="<?php echo $linkPrevious ?>"><span></span></a></li>
		<?php echo $strpage ?>
		<li class="next"><a href="<?php echo $linkNext ?>"><span></span></a></li>
	    <li class="end"><a href="<?php echo $linkEnd ?>"><span></span></a></li>
		
		
		<!--
		<li class="start"><a href="#"><span></span></a></li>
	    <li class="prev"><a href="#"><span></span></a></li>
	    <li class="page active"><span>1</span></li>
	    <li class="page"><a href="#"><span>2</span></a></li>
	    <li class="next"><a href="#"><span></span></a></li>
	    <li class="end"><a href="#"><span></span></a></li>\
	    -->
	   
		
	</ul>
</div>
<!--------------------CURENT-PAGE (End) ---------------------->                         